package com.tarena.lbs.business.dao.mapper;

import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StoreMapper {
    List<StorePO> getAllStores(StoreQuery query);

    void insertStore(StorePO storePO);

    BusinessPO getBusinessById(Integer businessId);

    List<StorePO> queryStoresByAreaAndBusiness(List<Long> cityIdList, Integer businessId);
    StorePO getStoreById(Integer storeId);

    List<StorePO> getStores();
}
